package kycadmininnerservicelogic

import (
	"code.bydev.io/cht/customer/kyc_admin_service/internal/app/serv"
	"context"

	"code.bydev.io/cht/customer/kyc_admin_service/service/private/internal/svc"

	"git.bybit.com/svc/stub/pkg/pb/api/kycadmin"
)

// Deprecated
type KycAdminInnerServiceGetKycActionDetailLogic struct {
	svcCtx *svc.ServiceContext
}

func NewKycAdminInnerServiceGetKycActionDetailLogic(
	svcCtx *svc.ServiceContext,
) *KycAdminInnerServiceGetKycActionDetailLogic {
	return &KycAdminInnerServiceGetKycActionDetailLogic{
		svcCtx: svcCtx,
	}
}

// KYC 认证查询详情
func (l *KycAdminInnerServiceGetKycActionDetailLogic) GetKycActionDetail(
	ctx context.Context,
	in *kycadmin.GetKycActionDetailRequest,
) (*kycadmin.KycActionDetailResponse, error) {
	return serv.NewService(l.svcCtx.NothingEnv).GetKycActionDetail(ctx, in)
}
